package com.stu.wgt.test.bean;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author wgt
 * @since 2024-01-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Pet implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 宠物品种
     */
    private String type;

    /**
     * 宠物年龄
     */
    private String age;

    /**
     * 宠物体重
     */
    private Double weight;

    /**
     * 宠物价格
     */
    private BigDecimal price;

    /**
     * 宠物健康状态
     */
    private String healthStatus;

    @TableField(exist = false)
    private String url;
}
